home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / windows / readfi11.zip / CRC.H < prev    next >
Text File  |  1996-05-05  |  1KB  |  23 lines

  1. // --------------------------------------------------------------------------
  2. //  PROJECT     SOLO2
  3. //  MODULE      CRC.H           
  4. //  PURPOSE     32 bit CRC routines
  5. //  COPYRIGHT   (c) Francois Liger, 1994
  6. // --------------------------------------------------------------------------
  7. //  COMMENTS    CRC 32 header file
  8. // --------------------------------------------------------------------------
  9.  
  10. // --------------------------------------------------------------------------
  11. //  module wide definitions
  12. // --------------------------------------------------------------------------
  13.  
  14. #define CRC_BUFFER_SIZE 512             // CRC file read buffer size
  15.  
  16. // --------------------------------------------------------------------------
  17. //  function prototypes
  18. // --------------------------------------------------------------------------
  19.  
  20. void  InitializeCRCTable(void);
  21. DWORD ComputeBufferCRC(DWORD dwCRC, void *pvBuffer, DWORD cbBuffer);
  22. DWORD ComputeFileCRC(HANDLE hfile, LPOVERLAPPED lpOverlapped);
  23.